package csu.edu.flatprogram.service;

import csu.edu.flatprogram.common.CommonResponse;
import csu.edu.flatprogram.entity.Activity;
import csu.edu.flatprogram.entity.Picture;

import java.util.List;

public interface ActivityService {
    CommonResponse<List<Activity>> getAllActivities();

    CommonResponse<Activity> getActivityById(int activityid);

    CommonResponse<Activity> addActivity(String activityname,String starttime,String stoptime,String activityplace,String activityunit, String activitydetails);

    CommonResponse<Activity> updateActivity(int activityid,String activityname, String starttime, String stoptime, String activityplace, String activityunit, String activitydetails);

    CommonResponse<List<Activity>> deleteActivity(String activityid);

    CommonResponse<Activity> insertActivity(Activity activity);

    CommonResponse<Activity> updateActivity(Activity activity);

    CommonResponse<Picture> addPicture(Picture picture);
}
